/*
* Conditions Of Use
*
* This software was developed by employees of the Sigmatrix(Beijing) Corporation.
* This software is provided by sigmatrix as a service and is expressly
* provided "AS IS."  Sigmatrix MAKES NO WARRANTY OF ANY KIND, EXPRESS, IMPLIED
* OR STATUTORY, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTY OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT
* AND DATA ACCURACY.  Sigmatrix does not warrant or make any representations
* regarding the use of the software or the results thereof, including but
* not limited to the correctness, accuracy, reliability or usefulness of
* the software.
*
* Permission to use this software is contingent upon your acceptance
* of the terms of this agreement.
*
*/
package com.sigmatrix.h5.web.vo;

import java.io.Serializable;

import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.NotBlank;

import com.sigmatrix.h5.request.Request;

import io.swagger.annotations.ApiModelProperty;

/**
 *@ClassName: PackScanVo
 *@Description: 用于手持包装管理模块扫码接口提供参数
 *@author youjun
 *@date 2017年8月16日 下午2:52:28
 */
public class PackScanVo extends Request implements Serializable {

	/**
	 *@Fields serialVersionUID : TODO()
	 */
	private static final long serialVersionUID = 3188027910001091398L;

	/**查询的二维码*/
	@ApiModelProperty(value="查询的二维码")
	@NotBlank(message="查询的二维码不能为空")
	private String code;
	
	/**查询的二维码的类型,1、实体码(密文) 2、友好码 3、seqNum*/
	@ApiModelProperty(value="查询的二维码的类型,1、实体码(密文) 2、友好码 3、seqNum,扩展使用,目前为1")
	@NotNull(message="查询的二维码的类型不能为空")
	private Integer codeType;
	
	/**操作类型*/
	@ApiModelProperty(value="操作类型,1、组/补箱操作 2:拆箱 3:组/补垛 4:拆垛  5:新增垛")
	@NotNull(message="操作类型不能为空")
	private Integer operationType;

	/**
	 *@return the code
	 */
	public String getCode() {
		return code;
	}

	/**
	 *@param code the code to set
	 */
	public void setCode(String code) {
		this.code = code;
	}

	/**
	 *@return the codeType
	 */
	public Integer getCodeType() {
		return codeType;
	}

	/**
	 *@param codeType the codeType to set
	 */
	public void setCodeType(Integer codeType) {
		this.codeType = codeType;
	}

	/**
	 *@return the operationType
	 */
	public Integer getOperationType() {
		return operationType;
	}

	/**
	 *@param operationType the operationType to set
	 */
	public void setOperationType(Integer operationType) {
		this.operationType = operationType;
	}
	
}
